package cn.walnut.web.async;

import org.apache.commons.collections.map.HashedMap;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.async.DeferredResult;

import java.util.Map;

/**
 * @program: walnut-security
 * @Date: 2018/12/21 22:29
 * @Author: Walnut1992
 * @Description:
 */
@Component
public class DefferedResultHolder {

    private Map<String, DeferredResult<String>> map = new HashedMap();

    public Map<String, DeferredResult<String>> getMap() {
        return map;
    }

    public void setMap(Map<String, DeferredResult<String>> map) {
        this.map = map;
    }
}
